Skip to content

Comments

Add logic to disable Today button when it is not selectable#16

Merged
IsabellaPap merged 2 commits intomasterfrom
feat/disable-today-button
May 15, 2025
Merged

Add logic to disable Today button when it is not selectable#16
IsabellaPap merged 2 commits intomasterfrom
feat/disable-today-button

Conversation

@IsabellaPap
Copy link
Collaborator

@IsabellaPap IsabellaPap commented May 15, 2025

Tested in the demo. Works for min and max date, but also for range limit (Today will be disabled when it's out of the max range).

@github-actions
Copy link

github-actions bot commented May 15, 2025

This repository uses semantic-release to automate the process of releasing new versions. The following changelog entries would be generated for the next release. Please review them to ensure they correctly reflect the changes in this pull request.
If you want to change the changelog entries, please edit the commit messages in this pull request following Conventional Commits guidelines. Use git rebase -i master to edit the commit history.

Changelog preview (the formatting is slightly different from the actual release):

# 19.1.0 (https://github.com/netwin/date-time-picker/compare/19.0.0...19.1.0) (2025-05-15)

### Features

    * add logic to disable Today button when it is not selectable (5a3202d (https://github.com/netwin/date-time-picker/commit/5a3202de1eba3423e539cd482ef176163b8f5af8))
    * improve scss (9d6e18c (https://github.com/netwin/date-time-picker/commit/9d6e18c304bd33925a6e1f07557d36471932c03a))

@IsabellaPap IsabellaPap requested a review from NetWin May 15, 2025 07:59
Copy link
Owner

@NetWin NetWin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, feel free to add the suggested change but not super necessary imho 👍🏼

@IsabellaPap IsabellaPap merged commit 29d29c6 into master May 15, 2025
2 checks passed
@github-actions
Copy link

🎉 This PR is included in version 19.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants